package com.shiyue.cqe.bind.xml.bean;

import java.io.Serializable;
import java.util.List;

import org.simpleframework.xml.Attribute;
import org.simpleframework.xml.ElementList;
import org.simpleframework.xml.Root;

@SuppressWarnings("serial")
@Root(name = "select",strict=false)
public class Select implements Serializable {
	
	@Attribute(name="name",required=true)
	private String name;
	
	@Attribute(name="des",required=false)
	private String des;
	
	@Attribute(name="isBlank",required=false)
	private boolean blank;
	
	@ElementList(name="option",inline=true, required=false)
	List<Option> options;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDes() {
		return des;
	}

	public void setDes(String des) {
		this.des = des;
	}

	public boolean isBlank() {
		return blank;
	}

	public void setBlank(boolean blank) {
		this.blank = blank;
	}

	public List<Option> getOptions() {
		return options;
	}

	public void setOptions(List<Option> options) {
		this.options = options;
	}
}
